/**
 * @Description:
 * @Author BPF
 * @create 2021/9/1 11:20
 */
import { DELETE, GET, POST } from '@/api/helper'

const api_prefix = window.$config.proxy.api.prefix
export default {
  /**
   * 用户登陆
   * */
  login(body = { params: {}, data: {}, headers: {} }) {
    return POST({ url: api_prefix + '/system/login', ...body })
  },

  /**
   * 退出
   * */
  logout(body = { params: {}, data: {}, headers: {} }) {
    return POST({ url: api_prefix + '/system/logout', ...body })
  }
}
